package com.iplant.mes.service.po.sfc.autoStation;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 工件开工检验接收参数
 *
 * @author YouWang·Peng
 * 2023-10-12 15:10:42
 */
public class SFCTaskSelfParam implements Serializable {
    /**
     * 工位唯一固定编码
     */
    public String StationCode = "";
    /**
     * 订单号 工件所属订单
     */
    public String OrderNo = "";
    /**
     * 工单任务 Code
     */
    public String TaskSelfCode = "";
    /**
     * 工单任务ID
     */
    public int TaskSelfID = 0;
    /**
     * 加工工件唯一编号（同设备同工单工件编号相同则覆盖；
     * 喷金工位可为空）
     */
    public String WorkpieceNo = "";
    /**
     * 工序ID
     */
    public int RoutePartPointID = 0;
    /**
     * 工艺参数
     */
    public List<SFCTaskSelfParamItem> ItemList = new ArrayList<>();

    @JsonProperty("StationCode")
    public String getStationCode() {
        return StationCode;
    }

    public void setStationCode(String stationCode) {
        StationCode = stationCode;
    }

    @JsonProperty("OrderNo")
    public String getOrderNo() {
        return OrderNo;
    }

    public void setOrderNo(String orderNo) {
        OrderNo = orderNo;
    }

    @JsonProperty("TaskSelfCode")
    public String getTaskSelfCode() {
        return TaskSelfCode;
    }

    public void setTaskSelfCode(String taskSelfCode) {
        TaskSelfCode = taskSelfCode;
    }

    @JsonProperty("TaskSelfID")
    public int getTaskSelfID() {
        return TaskSelfID;
    }

    public void setTaskSelfID(int taskSelfID) {
        TaskSelfID = taskSelfID;
    }

    @JsonProperty("WorkpieceNo")
    public String getWorkpieceNo() {
        return WorkpieceNo;
    }

    public void setWorkpieceNo(String workpieceNo) {
        WorkpieceNo = workpieceNo;
    }

    @JsonProperty("RoutePartPointID")
    public int getRoutePartPointID() {
        return RoutePartPointID;
    }

    public void setRoutePartPointID(int routePartPointID) {
        RoutePartPointID = routePartPointID;
    }

    @JsonProperty("ItemList")
    public List<SFCTaskSelfParamItem> getItemList() {
        return ItemList;
    }

    public void setItemList(List<SFCTaskSelfParamItem> itemList) {
        ItemList = itemList;
    }
}
